package com.itheima.output;

import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;

public class OutputDemo01 {
    public static void main(String[] args) throws IOException {
        //创建字节输出流对象
        FileOutputStream fos = new FileOutputStream("day12_file&字节流\\a.txt");

        //写数据
        fos.write(97);
        fos.write(97);

        //释放资源
        fos.close();
    }
}
